package com.gpj.security.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @className WebConfig
 * @description
 *   TODO
 * @author GPJ
 * @date 2023/11/7 22:11
 * @version 1.0
 **/
@Configuration
public class WebConfig implements WebMvcConfigurer {
	@Override
	public void addViewControllers(ViewControllerRegistry registry) {
//		registry.addViewController("/sso/login").setViewName("login");
//		registry.addViewController("/sso/login").setViewName("redirect:/login");
//		registry.addViewController("/").setViewName("redirect:/sso/login");

	}
}
